package com.cbtx.module.common.ui;

import androidx.annotation.Nullable;

import com.cbtx.module.common.R;
import com.cbtx.module.common.bean.AreaItem;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * @author : Lambert
 * date   : 2020/10/23 4:50 PM
 */
public class TouFangLocationAdapter extends BaseQuickAdapter<AreaItem, BaseViewHolder> {


    public TouFangLocationAdapter(int layoutResId, @Nullable List<AreaItem> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, AreaItem item) {

        helper.setText(R.id.mTvLocation,item.areaName);
    }

}
